package com.zhangtai.modules.entity.employee;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import lombok.Data;

		import java.math.BigDecimal;
	

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-08-18 14:04:21
 */
@Data
@TableName("tb_employee_security")
public class EmployeeSecurityEntity implements Serializable {
	private static final long serialVersionUID = 1L;

			/**
		 * 
		 */
				@TableId(value="id",type = IdType.AUTO)
		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)
			private Long id;
			/**
		 * 公积金id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long fundsId;
			/**
		 * 社保方案id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long securityId;
			/**
		 * 员工id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long oid;

			private String name;
			/**
		 * 删除标识 0：未删除 1：已删除
		 */
			private Integer isDelete;
			/**
		 * 养老保险基数
		 */
			private BigDecimal endowmentInsurance;
			/**
		 * 失业保险基数
		 */
			private BigDecimal unemploymentInsurance;
			/**
		 * 医疗保险基数
		 */
			private BigDecimal medicalInsurance;
			/**
		 * 工伤保险基数
		 */
			private BigDecimal injuryInsurance;
			/**
		 * 大额医疗
		 */
			private BigDecimal largerMedical;
			/**
		 * 公积金
		 */
			private BigDecimal reservedFunds;

			private BigDecimal maternityInsurance;

			private BigDecimal disabledEmployment;

			private BigDecimal offerFunds;

			private String code;
}
